2 XSLT Element 1. xsl: If: A simple condition judgment element.
1. declaration method:
Test = boolean-Expression>
Partial attribute description:
2. Test
A logical expression. if it is true, the operation expressed by the content of xsl: if
1. Use of templates
Some encoding tables are stored in the database, but some Chinese characters are displayed.
In this case, we can define an XSL file that stores data. I have defined a codetab. XSL
Reference this file to the archive. XSL file,
Dynamic XSL itself is a well-formed XML that converts an XML document into another XML document, or transforms it into a text file, HTML file, and so on. Here is the use of XSL to dynamically generate the Java files we want (in some ways, Java code
IntroductionSometimes we want to see the system generated XML files (such as the XML format of the project file), if the file structure is simple, our browser seems to be more convenient, but as the XML Schema complex becomes a headache, write a
1. knowledge required to create a docbook document:
1) XML-this is the most basic. If you don't understand this, you 'd better first look for an entry-level book;2) DTD-helps you understand the structure of docbook;3) XSL-help you customize your own
XSLT does not provide a ready-made split method to effectively separate the given query string. However, we can use the substring-before and substring-after functions to achieve the split effect. First look at an application requirement:
Content
Through the introduction in the previous two chapters, we have learned some about the basic concepts of XSLT and its conversion process. Next we will learn the specific syntax of XSLT. When it comes to syntax, it's always boring. You can simply
Element Syntax of XSLTXSL: Template and XSL: Apply-templatesXSL: value-XSL: For-eachXSL: IfXxsl: Choose, when, otherwiseXSL: Sort
XSL: Template and XSL: Apply-templates Template is one of the most important concepts in XSLT. An XSLT file is
The following is an example of a Java transit scheme:
Books. xml
View plaincopy to clipboardprint? everyday Italian Giada De laurentiis 2005 30.00 Harry Potter j k. Rowling 2005 29.99 XQuery kick start James McGovern Per bothner Kurt
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.